<?php
	DEFINE('H1', 'Convert Using Form');
	DEFINE('TITLE','Convert Using Form');
	require('includes/header.php');
?>	
	<h2><?PHP echo H1 ?></h2>

<?php
$rate = $_POST['euroRate'];
$dollars = $_POST['dollars'];
$euros = $dollars * $rate;
echo "$dollars USD is equivalent to: $euros EUR";
?>

<?php
	require('includes/footer.php');
?>